package com.nwpu.coursesupport.service;

import com.nwpu.coursesupport.criteria.ClassSearchCriteria;
import com.nwpu.coursesupport.criteria.ClassViewSearchCriteria;
import com.nwpu.coursesupport.entity.Class;
import com.nwpu.coursesupport.entity.bean.JSONResult;
import com.nwpu.coursesupport.service.param.ClassServiceParam;

import java.util.List;

public interface ClassService {

	public JSONResult courseView(int id);

	/*public JSONResult lessonDetail(int id);

	public JSONResult studentDetail(int id);*/

	public JSONResult detail(int id);

	public JSONResult list(ClassSearchCriteria sc);

	public JSONResult recurList(ClassSearchCriteria sc);

	public JSONResult update(ClassServiceParam.UpdateParam p);

	public JSONResult create(ClassServiceParam.CreateParam p);
	
	public JSONResult findClassView(ClassViewSearchCriteria sc);

	public List<Class> getClassByCourseID(Integer taskID);

    Integer getClassIDByClassName(String className);
}
